
namespace dynamic
{
namespace python
{
	class wrap_pyobject : public var_impl
	{
		PyObject * m_object;
	public:
		wrap_pyobject(PyObject * obj);
		var_cmp_index comparison_index();
		void * as_ptr();
		wrap_pyobject(const wrap_pyobject & other);
		wrap_pyobject & operator=(wrap_pyobject other);
		~wrap_pyobject();
		void swap(wrap_pyobject & other);
		void copy_to(void * dest) const;
		var clone();
		std::string class_name() ;
		bool as_bool();
		int as_int();
		double as_double();
		void output(ostream & os);
		void output(wostream & os);
		var call();
		var call(const var & a0);
		var op_add(const var & a);
	};
}
}
